#ifndef __FUNCTION__
#define __FUNCTION__

class Function
{
public:
    virtual double operator()(double _x) = 0;
    virtual double diff(double _x){return 0; }
    virtual double diff2(double _x) {return 0; }
};

#endif